package jp.dodododo.dao.util;

import java.io.IOException;
import java.io.InputStream;

/**
 * 
 * @author Satoshi Kimura
 */
public abstract class CloseableUtil {

	public static void close(InputStream is) {
		if (is == null) {
			return;
		}
		try {
			is.close();
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
	}

}
